package com.hero.jobweb.service;

import java.util.List;

import com.hero.basicsystem.entity.Department;
import com.hero.jobweb.entity.TbOperateLog;
import com.hero.jobweb.entity.TbUsers;
import com.hero.web.service.IService;

public interface ICommonService extends IService {
	/**
	 * 保存操作日志
	 * @param operateLog
	 */
	public void saveOperateLog(TbOperateLog operateLog);
	/**
	 * 删除操作日志
	 * @param operateLog
	 */
	public void removeOperateLog(TbOperateLog operateLog);
	/**
	 * 查询操作日志
	 * @param operateLog
	 */
	public List<TbOperateLog> queryOperateLog(TbOperateLog operateLog);
	
	/**
	 * 用户登录
	 * @param user
	 * @return
	 */
	public TbUsers userLogin(TbUsers user);
	
	/**
	 * 根据Id查询部门
	 * @return
	 */
	public Department queryDepartmentById(Integer dId);
	/**
	 * 分布式测试
	 */
	public void jtaTest();
}
